<?php
session_start();
if (isset($_SESSION['myusername'])) {
    $log=1;
}
else{
    header("location:Login/login.php");
     $log=0;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html lang="es">
    
    <head>
        <meta charset="utf-8">


        <style type="text/css">
            body {
                padding-top: 60px;
                padding-bottom: 40px;
              }
              .sidebar-nav {
                padding: 9px 0;
              }
        </style>


  </head>
    
    <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    </a>

                    <a class="brand" href="/TareaInterfaz/index.php">Interfaz</a>
                    <div class="nav-collapse collapse">
                        <ul class="nav">
                            <li>
                                <a href="/TareaInterfaz/Usuarios/listar.php">Usuarios</a>
                            </li>
                            <li>
                                <a href="/TareaInterfaz/Contactos/listar.php">Contactos</a>
                            </li>
                        </ul>
                        <ul class="nav pull-right">
                            <li><a href="/TareaInterfaz/Login/logout.php">Salir<b> <?php echo $_SESSION['myusername']; ?></b></a></li>
                            <li class="divider-vertical"></li>
                          </ul>
                    </div>
                    <!--/.nav-collapse -->
                </div>
            </div>
        </div>


<a class='btn btn-inverse btn-block' style='text-align:center;position:fixed;bottom:0;' href='#' > <p>&copy; Company 2013</p>
</a></body>

</html>